package clientData;

public class ForumData implements ForumDataInt {

	private static final long serialVersionUID = 1L;
	
	/** The id. */
	private int id;
	
	/** The name. */
	private String name;
	
	private MemberDataInt creator;
	
	public ForumData(int id, String name,MemberDataInt creator ){
		this.id = id;
		this.name = name;
		this.creator = creator;
	}
	
	/* (non-Javadoc)
	 * @see domainModel.ForumInt#getId()
	 */
	@Override
	public int getId() {
		return this.id;
	}

	/* (non-Javadoc)
	 * @see domainModel.ForumInt#getName()
	 */
	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public MemberDataInt getCreator() {
		return this.creator;
	}
}
